<?php
namespace app\controller;

use app\BaseController;
use app\logic\ExcelLogic;
use app\Request;
use think\Db;

class DealExcel extends BaseController
{
    public function index()
    {
        return "sussess";
    }

    public function dealExcel(Request $request)
    {
        $x = ["a"=>1,'b'=>2];
        $code = 200;
        $show = "1";
        $msg = "keyikey";
        $data = "aaaaaa";
        $result = compact('code', 'show', 'msg', 'data');
        $x = (new ExcelLogic())->dealExcel();
        return json($x);
    }

}
